<!DOCTYPE html>
<html lang="en" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="UTF-8"/>
    <title>Title</title>
</head>
<body>
    <h3>Home Page</h3>
    <h3>Welcome,<shiro:principal property="accountName"></shiro:principal></h3>
    <h3>Welcome,<shiro:principal></shiro:principal></h3>
    <p shiro:hasRole="finance">Hello,finance</p>
    <p shiro:hasRole="Employee">Hello,Employee</p>
    <p shiro:hasPermission="account:add">Account:Add</p>
    <p shiro:hasRole="superadmin">Hello,Admin</p>
    <a href="/logout">logout</a>
</body>
</html>